package my.test.tactics;

/**
 * @Author 许玉康
 * @Date 2019/8/28 18:17
 */
public class Context {

    private IStrategy strategy;

    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }

    public void operate() {
        this.strategy.openrate();
    }
}
